projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f623329
)
Actually switch to recent:/// in its key shortcut handler
author
Federico Mena Quintero
<federico@gnome.org>
Fri, 23 Nov 2012 19:24:55 +0000
(13:24 -0600)
committer
Federico Mena Quintero
<federico@gnome.org>
Fri, 23 Nov 2012 19:24:55 +0000
(13:24 -0600)
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
gtk/gtkfilechooserdefault.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfilechooserdefault.c
b/gtk/gtkfilechooserdefault.c
index 85111de0f185c5f1cde316e5a86d8539cc0ff110..ee5bad033dab28c1db1fd2a56f669b48109fc65d 100644
(file)
--- a/
gtk/gtkfilechooserdefault.c
+++ b/
gtk/gtkfilechooserdefault.c
@@
-10574,9
+10574,11
@@
search_shortcut_handler (GtkFileChooserDefault *impl)
static void
recent_shortcut_handler (GtkFileChooserDefault *impl)
{
-#if REMOVE_FOR_PLACES_SIDEBAR
- switch_to_shortcut (impl, shortcuts_get_index (impl, SHORTCUTS_RECENT));
-#endif
+ GFile *recent;
+
+ recent = g_file_new_for_uri ("recent:///");
+ change_folder_and_display_error (impl, recent, FALSE);
+ g_object_unref (recent);
}
static void